# This file is part of trytond-pcw-subproduct module for Tryton. 
# The COPYRIGHT file at the top level of this repository contains 
# the full copyright notices and license terms.

from trytond.model import ModelView, ModelSQL, fields
from trytond.pool import Pool, PoolMeta

__all__ = ['Product']
__metaclass__ = PoolMeta

class Product:
    __name__ = 'product.product'

    subproducts = fields.One2Many('pcw.subproduct','parent', 'Subproducts', help='List of subproducts that are part of this product.')

